package Level02_five;

public class Person {
    //请用代码描述： 38 岁的白百合有一部价值为 8000 元的 iPhone 的手机,她在使用者
    //部手机给羽凡打电
    private String name;
    private int age;

    void callTo(Phone phone,Person person){
        System.out.println(getAge()+"岁的"+getName()+"有一部价值为"+phone.getPrice()+"元的 "+phone.getBrand()+" 的手机给"+person.getName());
    }

    public Person(String name, int age) {
        this.name = name;
        this.age = age;
    }
    public Person(){}

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }
}
